package com.huawang.mdesign.model.service.request;

import com.huawang.business.constants.ParamErrorConstants;
import io.swagger.v3.oas.annotations.media.Schema;
import com.huawang.business.dto.ProjectIdDTO;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class QueryMClassDTO extends ProjectIdDTO {
    @Schema(title = "项目id")
    @NotBlank(message = ParamErrorConstants.NO_PROJECT_ID)
    private String projectId;

    @NotNull(message = ParamErrorConstants.NO_STEREOTYPE_ID)
    private List<String> stereotypeIds;
}
